package model.custom;



/**
 * Customrelation entity. @author MyEclipse Persistence Tools
 */

public class Customrelation  implements java.io.Serializable {


    // Fields    

     private Integer id;
     private Integer custommainid;
     private String customtype;
     private Integer customid;
     private Integer thingsid;
     private Integer companyorpersonal;
     private String state;


    // Constructors

    /** default constructor */
    public Customrelation() {
    }

	/** minimal constructor */
    public Customrelation(Integer custommainid,String customtype, Integer companyorpersonal,String state) {
        this.custommainid=custommainid;
    	this.customtype = customtype;
        this.companyorpersonal = companyorpersonal;
        this.state=state;
    }
    
    /** full constructor */
    public Customrelation(Integer custommainid,String customtype, Integer customid, Integer thingsid, Integer companyorpersonal,String state) {
        this.custommainid=custommainid;
    	this.customtype = customtype;
        this.customid = customid;
        this.thingsid = thingsid;
        this.companyorpersonal = companyorpersonal;
        this.state=state;
    }

   
    // Property accessors

    public Integer getId() {
        return this.id;
    }
    
    public void setId(Integer id) {
        this.id = id;
    }

    public String getCustomtype() {
        return this.customtype;
    }
    
    public void setCustomtype(String customtype) {
        this.customtype = customtype;
    }

    public Integer getCustomid() {
        return this.customid;
    }
    
    public void setCustomid(Integer customid) {
        this.customid = customid;
    }

    public Integer getThingsid() {
        return this.thingsid;
    }
    
    public void setThingsid(Integer thingsid) {
        this.thingsid = thingsid;
    }

    public Integer getCompanyorpersonal() {
        return this.companyorpersonal;
    }
    
    public void setCompanyorpersonal(Integer companyorpersonal) {
        this.companyorpersonal = companyorpersonal;
    }

	public Integer getCustommainid() {
		return custommainid;
	}

	public void setCustommainid(Integer custommainid) {
		this.custommainid = custommainid;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	@Override
	public String toString() {
		return "Customrelation [id=" + id + ", custommainid=" + custommainid
				+ ", customtype=" + customtype + ", customid=" + customid
				+ ", thingsid=" + thingsid + ", companyorpersonal="
				+ companyorpersonal + ", state=" + state + "]";
	}
	
}